#ifndef DIALOG_PAY_H
#define DIALOG_PAY_H

#include <QDialog>

#include <QTimer>
#include "weixinpay.h"
#include "drawqrcode.h"
#include "dialog_unionpay.h"
namespace Ui {
class Dialog_pay;
}

class Dialog_pay : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog_pay(QWidget *parent = 0);
    ~Dialog_pay();
    void setToalPrice(QString total);
private slots:
    void on_pushButton_clicked();
    void on_weixinReport(weixinInfo info);
    void on_PB_UnionPay_clicked();
    void test();
private:
    Ui::Dialog_pay *ui;
    static  QString totalPrice;
    Weixinpay *weixin;
    Dialog_unionPay *unionpay;
signals:
 void dispay();
};

#endif // DIALOG_PAY_H
